iommu: add iommu_intpost to control VT-d Posted-Interrupts feature
authorFeng Wu <feng.wu@intel.com>
Tue, 24 Nov 2015 11:09:28 +0000 (12:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 11:09:28 +0000 (12:09 +0100)
commit9670e7df84180748fbd2bb74162a1e557d75df75
treea5acf43c52c5b61bf16376a40c13ea488aded431
parentd02e84b9d9d16b6b56186f0dfdcb3c90b83c82a3
iommu: add iommu_intpost to control VT-d Posted-Interrupts feature

VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt.
With VT-d Posted-Interrupts enabled, external interrupts from
direct-assigned devices can be delivered to guests without VMM
intervention when guest is running in non-root mode.

This patch adds variable 'iommu_intpost' to control whether enable VT-d
posted-interrupt or not in the generic IOMMU code.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/iommu.c
xen/include/xen/iommu.h